<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib prefix="fn" uri="/WEB-INF/tlds/category" %>
<div class="crumb_navigation"> Navigation: <span class="current">Home</span> </div>
<div class="left_content">
    <div class="title_box">Categories</div>
    <ul class="left_menu">
        <c:forEach var="category" items="${fn:list()}" varStatus="num">
            <c:choose>
                <c:when test="${num.count%2 == 0}">
                    <li class="odd"><a href="" onclick="getProduct(${category.categoryId});return false;">${category.categoryName}</a></li>
                </c:when>
                <c:otherwise>
                    <li class="even"><a href="" onclick="getProduct(${category.categoryId});return false;">${category.categoryName}</a></li>
                </c:otherwise>
            </c:choose>
        </c:forEach>
    </ul>
    <div class="title_box">Special Products</div>
    <div class="border_box">
        <div class="product_title"><a href="details.html">Motorola 156 MX-VL</a></div>
        <div class="product_img"><a href="details.html"><img src="images/laptop.png" alt="" border="0" /></a></div>
        <div class="prod_price"><span class="reduce">350$</span> <span class="price">270$</span></div>
    </div>
    <div style="width: 40px;height: 10px;" > </div>
</div>